package com.dyrj.jzb.po;


import com.alibaba.fastjson.JSON;

import java.util.HashMap;


/**
 * KFEJZB6216	第三方支付渠道在途充值（分账）	OnWayTopThirdPaySplit
 * 市场通过第三方支付渠道（如支付宝、微信等）进行成功扣款后，可通过此接口通知电商见证宝系统为指定的会员增加可用余额，并收取指定金额的手续费（如有）。可支持多笔充值。
 */
public class Po6216OnWayTopThirdPaySplit extends PoBase{

    //资金汇总账号
    private String FundSummaryAcctNo;
    //支付渠道类型
    //0001-微信
    //0002-支付宝
    //0003-京东支付
    //0004-百度支付
    //0005-快捷通支付
    //0006-裕福支付
    //0007-银联商务分期
    //0008-拉卡拉支付
    //0009-平安付
    //0010-QQ钱包
    //0011-通联
    //0012-银联商务POS
    //0014-苏宁支付
    //0015-乐刷支付
    //0016-中金支付
    private String PayChannelType;
    //支付渠道所分配的商户号 即市场在第三方支付渠道的商户号
    private String PayChannelAssignMerNo;
    //总订单号 即第三方支付渠道产生的总订单号
    private String TotalOrderNo;
    //交易总金额 订单总金额
    private String TranTotalAmt;
    //订单数量 1到20条
    //TranItemArray
    //RechargeSubAcctNo	充值子账户
    //SubOrderFillMemberCd	子订单充值会员代码
    //SubOrderTranAmt	子订单交易金额
    //SubOrderTranFee	子订单交易费用
    //SubOrderNo	子订单号
    //SubOrderContent	子订单内容
    //SubOrderBussSeqNo	子订单业务流水号
    //SubOrderRemark	子订单备注
    //ReservedMsg	保留域

    //保留域1
    private String ReservedMsgOne;
    //保留域2
    private String ReservedMsgTwo;

    //输出  订单数量
    private String OrdersCount;
    //TranItemArray
    //输出  前置流水号
    private String FrontSeqNo;
    //输出  保留域1
//    private String ReservedMsgOne;
    //输出  保留域2
//    private String ReservedMsgTwo;


    public String getReqPara() {
        HashMap paraKeyDict = new HashMap();
        paraKeyDict.put("CnsmrSeqNo",this.getCnsmrSeqNo());
        paraKeyDict.put("MrchCode",this.getMrchCode());
        paraKeyDict.put("FundSummaryAcctNo",this.getFundSummaryAcctNo());
        paraKeyDict.put("PayChannelType",this.getPayChannelType());
        paraKeyDict.put("PayChannelAssignMerNo",this.getPayChannelAssignMerNo());
        paraKeyDict.put("TotalOrderNo",this.getTotalOrderNo());
        paraKeyDict.put("TranTotalAmt",this.getTranTotalAmt());
        paraKeyDict.put("ReservedMsgOne",this.getReservedMsgOne());
        paraKeyDict.put("ReservedMsgTwo",this.getReservedMsgTwo());
        return JSON.toJSONString(paraKeyDict);
    }

    public String getFundSummaryAcctNo() {
        return FundSummaryAcctNo;
    }

    public void setFundSummaryAcctNo(String fundSummaryAcctNo) {
        FundSummaryAcctNo = fundSummaryAcctNo;
    }

    public String getPayChannelType() {
        return PayChannelType;
    }

    public void setPayChannelType(String payChannelType) {
        PayChannelType = payChannelType;
    }

    public String getPayChannelAssignMerNo() {
        return PayChannelAssignMerNo;
    }

    public void setPayChannelAssignMerNo(String payChannelAssignMerNo) {
        PayChannelAssignMerNo = payChannelAssignMerNo;
    }

    public String getTotalOrderNo() {
        return TotalOrderNo;
    }

    public void setTotalOrderNo(String totalOrderNo) {
        TotalOrderNo = totalOrderNo;
    }

    public String getTranTotalAmt() {
        return TranTotalAmt;
    }

    public void setTranTotalAmt(String tranTotalAmt) {
        TranTotalAmt = tranTotalAmt;
    }

    public String getReservedMsgOne() {
        return ReservedMsgOne;
    }

    public void setReservedMsgOne(String reservedMsgOne) {
        ReservedMsgOne = reservedMsgOne;
    }

    public String getReservedMsgTwo() {
        return ReservedMsgTwo;
    }

    public void setReservedMsgTwo(String reservedMsgTwo) {
        ReservedMsgTwo = reservedMsgTwo;
    }

    public String getOrdersCount() {
        return OrdersCount;
    }

    public void setOrdersCount(String ordersCount) {
        OrdersCount = ordersCount;
    }

    public String getFrontSeqNo() {
        return FrontSeqNo;
    }

    public void setFrontSeqNo(String frontSeqNo) {
        FrontSeqNo = frontSeqNo;
    }
}
